/*
	CONTROL
	BASE CLASS Object ON WORKSPACE
*/
function Control(){
	//private - within the class
	//public - within the object
	
	var _ID; //private ID propety of the object
	var _Width; //private Width property of the object
	var _Height; //private Height propertyof the object
	var _Class; //private Class property of the object
	var _ParentClass; //private Parent Class property of the object
	var _ParentID; //private Parent ID property of the object
	var _Border; // private Border Property of the object
	
	this.setID = function(val){//public set the ID property of the object
		_ID = val; //set private property _ID equals to the parameter value
	}
	
	this.getID = function(){//public get the ID property of the object
		return _ID; // get value from private property _ID;
	}
	
	this.setWidth = function(val){//public set the Width property of the object
		_Width = val;// set private property _Width equals to the parameter value
	}
	
	this.getWidth= function(){ //public get the Width property of the object 
		return _Width;// get value from private property _Width;
	}
	
	this.setHeight = function(val){ //public set the Height property of the object
		_Height = val; // set private property _Height equals to the parameter value
	}
	
	this.getHeight = function(){ // public get the Height property of the object
		return _Height; // get value from private property _Height
	}
	
	this.setClass = function(val){ // public set the Class property of the object
		_Class = val;  //set private property _Class equals to the parameter value
	}
	
	this.getClass = function(){ // public get the Class property of the object
		return _Class; // get value from private property _Class
	}
	
	this.setParentClass = function(val){ //public set the Parent Class Property of the object
		_ParentClass = val; //set private property _ParentClass equals to the parameter value
	}
	
	this.getParentClass = function(){ // public get the Parent Class Property of the object
		return _ParentClass; //get value from private property _ParentClass;
	}
	
	this.setBorder = function(val){ // public set the Border Property of the object
		_Border = val; // set private property _Border equals to the parameter value
	}
	
	this.getBorder = function(){ //public get the Border Property of the object
		return _Border; //get value from private property _Border
	}
	
	this.setParentID = function(val){ //public set the Parent ID Property of the object
		_ParentID = val; // set private property _ParentID equals to the parameter value
	}
	
	this.getParentID = function(){ //public get the Parent ID Property of the object
		return _ParentID;//get value from private property _ParentID;
	}
}